﻿using System;
using System.Linq;
using System.Text;
using SqlSugar;

namespace DongFangGuoKai.WMSPlatform.Domain.Models
{
    ///<summary>
    ///物料的计量单位转换
    ///</summary>
    [SugarTable("DBO.t_UnitConvertFigre")]
    public partial class t_UnitConvertFigre
    {
        public t_UnitConvertFigre()
        {


        }
        /// <summary>
        /// Desc:主键
        /// Default:
        /// Nullable:False
        /// </summary>           
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        public int Id { get; set; }

        /// <summary>
        /// Desc:物料Id
        /// Default:
        /// Nullable:False
        /// </summary>           
        public long MaterialId { get; set; }

        /// <summary>
        /// Desc:物料编码
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string? MaterialCode { get; set; }

        /// <summary>
        /// Desc:物料名称
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string? MaterialName { get; set; }

        /// <summary>
        /// Desc:基本单位Id
        /// Default:
        /// Nullable:True
        /// </summary>           
        public int? BaseUnitId { get; set; }

        /// <summary>
        /// Desc:基本单位
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string? BaseUnitName { get; set; }

        /// <summary>
        /// Desc:包装单位ID
        /// Default:
        /// Nullable:False
        /// </summary>           
        public int UnitId { get; set; }

        /// <summary>
        /// Desc:包装单位
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string? UnitName { get; set; }

        /// <summary>
        /// Desc:转换分子
        /// Default:
        /// Nullable:True
        /// </summary>           
        public int? Numerator { get; set; }

        /// <summary>
        /// Desc:转换为基本计量单位的分母 ，默认值为1
        /// Default:1
        /// Nullable:True
        /// </summary>           
        public int? Denominator { get; set; }

    }
}
